package com.zyht.bank.wechat.utils.sms;

/**
 * 短信实体类
 * 
 * @author qjl
 * @data 2017年7月6日
 */
public class SMSVo {

	public SMSVo() {
	
	}
	
	public SMSVo(String mobile, String content) {
		// 用户账号
		this.userid = "JE0232";
		// 用户密码
		this.pwd = "159369";
		// IP地址
		this.ip = "120.204.199.44";
		// 端口
		this.port = "8026";
		this.mobile = mobile;
		this.content = content;
	}

	public SMSVo(String userid, String pwd, String ip, String port, String mobile, String content, boolean isEncryptPwd,
			String svrtype) {
		super();
		this.userid = userid;
		this.pwd = pwd;
		this.ip = ip;
		this.port = port;
		this.mobile = mobile;
		this.content = content;
		this.isEncryptPwd = isEncryptPwd;
		this.svrtype = svrtype;
	}

	@Override
	public String toString() {
		return "SMSVo [userid=" + userid + ", pwd=" + pwd + ", ip=" + ip + ", port=" + port + ", mobile=" + mobile
				+ ", content=" + content + ", isEncryptPwd=" + isEncryptPwd + ", svrtype=" + svrtype + "]";
	}

	/*
	 * 账号名称
	 */
	private String userid;

	/*
	 * 密码
	 */
	private String pwd;

	/*
	 * IP地址
	 */
	private String ip;

	/*
	 * 端口号
	 */
	private String port;

	/*
	 * 手机号
	 */
	private String mobile;

	/*
	 * 短信内容
	 */
	private String content;

	// 密码是否加密 true：密码加密;false：密码不加密
	private boolean isEncryptPwd = true;

	/*
	 * 业务类型
	 */
	private String svrtype = "SMS001";

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getPort() {
		return port;
	}

	public void setPort(String port) {
		this.port = port;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public boolean isEncryptPwd() {
		return isEncryptPwd;
	}

	public void setEncryptPwd(boolean isEncryptPwd) {
		this.isEncryptPwd = isEncryptPwd;
	}

	public String getSvrtype() {
		return svrtype;
	}

	public void setSvrtype(String svrtype) {
		this.svrtype = svrtype;
	}

}
